<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>买买买</title>
</head>
<body>
    <div class="goods">
        <form action="submitOrder" method="post">
           <div><span style="color: red">限时秒杀，仅需1元，任选一门课程</span></div>
           <div class="goods-list">
               <div th:each="item:${goods}">
                   <input type="radio" name="id" th:value="${item.id}">
                   <label th:for="${item.id}" th:text="${item.name}"></label><br>
               </div>
           </div>
           <div><button type="submit">提交订单</button></div>
        </form>
    </div>
</body>
</html>